<html>
	<head><title>Disable Session Environment.</title></head>

	<body>
		<form method="post">
			<table border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td><font size="16">Select Items: </font></td>
				</tr>
				<tr>
					<td align="right">
						<input type="checkbox" name="checkBoxes" value="ITEM 1" />ITEM 1.
						<input type="checkbox" name="checkBoxes" value="ITEM 2" />ITEM 2.
						<input type="checkbox" name="checkBoxes" value="ITEM 3" />ITEM 3.
						<input type="checkbox" name="checkBoxes" value="ITEM 4" />ITEM 4.
						<input type="checkbox" name="checkBoxes" value="ITEM 5" />ITEM 5.<br/>
						<input type="checkbox" name="checkBoxes" value="ITEM 6" />ITEM 6.
						<input type="checkbox" name="checkBoxes" value="ITEM 7" />ITEM 7.
						<input type="checkbox" name="checkBoxes" value="ITEM 8" />ITEM 8.
						<input type="checkbox" name="checkBoxes" value="ITEM 9" />ITEM 9.
						<input type="checkbox" name="checkBoxes" value="ITEM 10" />ITEM 10.
						<input type="submit" value="Show" />
					</td>
				</tr>
			</table>
		</form>
		<table align="left" border="1" cellpadding="0" cellspacing="0">
			<tr>
				<td><font size="16">You selected following items: </font><td>
			</tr>
			<%if(request.getParameter("checkBoxes") != null){%>
			<%!
				String[] ItemNames;
			%>
			<%
				ItemNames = request.getParameterValues("checkBoxes");
				for(int i = 0; i < ItemNames.length; i++){
			%>
				<tr>
					<td><%= ItemNames[i] %></td>
				</tr>
			<%}%>
		<%}%>
		</table>
	</body>
</html>